<!DOCTYPE html>
<html>
    <head lang="en">
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
        <meta name="apple-mobile-web-app-capable" content="yes" />
        <meta name="apple-mobile-web-app-status-bar-style" content="black" />
        <link rel="stylesheet" href="__STATIC__/home/center/css/mall.css" type="text/css" />
<!--前台的后台-->
        <link rel="shortcut icon" href="__STATIC__/home/index/picture/2.png" type="image/x-icon">
        <title>个人中心</title>
    </head>
    <body class="body_color_user">
        <div class="mall_main">
            <div id="child_header">
                <div class="goback"><a href="{:url('home/index/index')}"><i></i></a></div>
                <div class="current_location"><span>个人中心</span></div>
            </div>
            <div class="wx_wrap">
                    <div class="person_top">

                            <img class="top_bj" src="__STATIC__/home/center/img/1.jpg">

                        <div class="per_con">

                            <div class="user_photo">
                                <a href="{:url('home/center/userinfo')}?id={$row['user_id']}">
                                    <img src={if condition="(empty($row['user_photo'])) OR ($row['user_photo'] neq 0)"}"__STATIC__/home/common/img/akari.jpg"{else /}"{$row['user_photo']}"{/if}>
                                    <span>{$row['user_name']}</span>
                                </a>
                            </div>

                            <div class="name_right">
                                <p>注册时间：{$row["user_time|date="Y-m-d H:i",###"]}</p>
                                {if condition="$row['user_grade'] eq 0"}
                                <td>会员级别：普通用户</td>
                                {elseif condition="$row['user_grade'] eq 1"}
                                <td>会员级别：会员</td>
                                {elseif condition="$row['user_grade'] eq 2"}
                                <td>会员级别：高级会员</td>
                                {/if}
                                <p></p>
                                <p class="p2">积分值：{$row['user_integral']}</p>
                            </div>
                        </div>
                    </div>
                <div class="my_menu">
                    <ul>
                        <li class="li_list"><a href="{:url('home/order/index')}"><img src="__STATIC__/home/center/img/user_icon1.png"> <span>我的订单</span></a></li>
                        <li class="li_list"><a href="myCourse.html"><img src="__STATIC__/home/center/img/user_icon2.png"> <span>我的课程</span></a></li>
                        <li class="li_list"><a href="{:url('home/center/public_articles')}"><img src="__STATIC__/home/center/img/timg3333.jpg"> <span>文章详情</span></a></li>
                    </ul>
                </div>
                <ul class="menu_list">
                    <li class="tiao" ><a href="{:url('home/center/cOllec')}?id={$row['user_id']}">我的收藏</a></li>
                    <li class="tiao"><a href="{:url('home/center/pointsList')}?id={$row['user_id']}">积分兑换</a></li>
                    {if condition="$row['user_grade'] eq 0"}
                    <li class="tiao"><a href="{:url('home/users/upVip')}?id={$row['user_id']}">开通会员</a></li>
                    {elseif condition="$row['user_grade'] eq 1"}
                    <li class="tiao"><a href="{:url('home/users/toVip')}?id={$row['user_id']}">升级高级会员</a></li>
                    {elseif condition="$row['user_grade'] eq 2"}
                    <li class="tiao"><a href="{:url('home/Center/uploadCourse')}">发布课程</a></li>
                    {/if}
                    <li class="tiao"><a href="{:url('home/center/accountsecurity')}?id={$row['user_id']}">账户安全</a></li>
                    <li class="tiao"><a href="{:url('home/center/wealth')}?id={$row['user_id']}">财富中心</a></li>
                    <li class="tiao"><a href="{:url('home/center/site')}?id={$row['user_id']}">设置</a></li>
                </ul>
            </div>
            <ul class="wx_nav">
                <li><a href="{:url('home/index/index')}"><img src="__STATIC__/home/center/img/nav_icon1.png"><span class="yellow">首页</span></a></li>
                <li><a href="{:url('/home/courses/index')}"><img src="__STATIC__/home/center/img/nav_icon2.png"><span>课程分类</span></a></li>
                <li><a href="#"><img src="__STATIC__/home/center/img/nav_icon3.png"><span>消息</span><b>1</b></a></li>
                <li><a href="{:url('home/center/view_article')}"><img src="__STATIC__/home/center/img/q7.jpg"><span>文章发布</span></a></li>
            </ul>
        </div>
    </body>
</html>
